{if count($aItems)}
<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
<tr>
	<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
	<td class="block_header">{language text="Mod_Video.related.videos"}</td>
</tr>
</table>
<div class="border2" style="overflow:auto; height:300px;">
<table style="width:94%; margin:auto;" cellpadding="8" cellspacing="0">
<tr>
{foreach from=$aItems item=aItem key=key name=aitems}
<td style="text-align:center; vertical-align;top;">
    <table style="margin-left:auto;margin-right:auto;vertical-align;top;">
    <tr>
    <td>
	<div class="wrap1">
		<div class="wrap2">
        	<div class="wrap3">
            	<div class="wrap4">
                	<div class="wrap5">
                		<a href="{url link='public.videos' id=$aItem.vid_id foxseotitle=$aItem.vid_title}">
						{img max_width="75" src="`$sGImageUrl``$aItem.vid_id`.jpg" src_def="design/pic/noimage_75.jpg" alt=""}
						</a>
					 </div>
					</div>
				</div>
			</div>
		</div>
	</td>
	</tr>
	</table>
	<a href="{url link='public.videos' id=$aItem.vid_id foxseotitle=$aItem.vid_title}">{$aItem.vid_title|truncate:'20'|escape|clean}</a>
</td>
{if $key is odd}
</tr>
<tr>
{if $smarty.foreach.aitems.last == true}
<td></td>
{/if}
{/if}
{/foreach}
</tr>
</table>
</div>
{/if}